﻿using Android.Content.PM;
using Games.Droid;
using Xamarin.Forms;

[assembly: Dependency(typeof(RoateHandler))]
namespace Games.Droid
{
    class RoateHandler : IRotateHandler
    {
        public void ForcePortrait()
        {
            MainActivity.Instance.RequestedOrientation = ScreenOrientation.Portrait;
        }
    }
}